/**
 * 
 */
package com.kkks.spring_rest.tick.utils;

    /**     
 * @author SC       
 * @version 1.0     
 * @created 2012-7-20 上午11:39:29    
 * @describe 日志打印帮助类 
 */
public class LogOutput {

	
	@SuppressWarnings("null")
	public static String LogShow(String inOrout, String FilterName, Object[] argsName, Object[] argsValue ){
		
		StringBuffer result = null;
		if(inOrout != null && "in".equals(inOrout)){
			result.append(FilterName).append(" : ");
			for(int i = 0 ; i < argsName.length ; i++){
				result.append(" " + argsName[i] + " : " + argsValue[i]);
			}
		}else if(inOrout != null && "out".equals(inOrout)){
			result.append(FilterName).append(" : ");
		}
		return result.toString();
	}
}
